package com.sy.service;

import java.util.List;

import com.sy.dao.BaseDao;

@SuppressWarnings("unchecked")
public interface BaseService{

//获得Dao
	public void setDao(BaseDao basedao);
	
//传出Dao列	
	public List getObjects(Class clazz);
	
//传出Dao
	public Object getObject(Class clazz, Integer id);
	
//添加
	public void saveObject(Object o);
	
//删除
	public void removeObject(Class clazz, Integer id);
	
//保存
	public void saveAllObject(List list);
}
